<?php

// 代理类
class Proxy extends GiveGift
{
    private $gg;

    public function __construct(SchoolGirl $mm)
    {
        $this->gg = new Pursuit($mm);
    }

    public function giveChocolate()
    {
        $this->gg->giveChocolate();
    }

    public function giveDolls()
    {
        $this->gg->giveDolls();
    }

    public function giveFlowers()
    {
        $this->gg->giveFlowers();
    }
}